package com.enterprise.support.utility.generator.menu;

import javax.swing.tree.DefaultMutableTreeNode;

/**
 * @author patrick liang
 * @version 1.0
 * @copyright (C) CTIC 2007
 * @date 2007-7-30
 * @desc TODO (todo-list ����ɶ���ְ�����ϸ����)
 */
public class MenuMutableTreeNode extends DefaultMutableTreeNode {

    private static final long serialVersionUID = 1L;

    private String panelName;

    private String constructor;

    /**
     * ���캯��.
     *
     * @param name        �ڵ���
     * @param panelName   ����
     * @param constructor ����
     */
    public MenuMutableTreeNode(String name, String panelName, String constructor) {
        super(name);
        this.panelName = panelName;
        this.constructor = constructor;
    }

    /**
     * get property.
     *
     * @return String
     */
    public String getConstructor() {
        return constructor;
    }

    /**
     * set property.
     *
     * @param constructor String
     */
    public void setConstructor(String constructor) {
        this.constructor = constructor;
    }

    /**
     * get property.
     *
     * @return String
     */
    public String getPanelName() {
        return panelName;
    }

    /**
     * set property.
     *
     * @param panelName String
     */
    public void setPanelName(String panelName) {
        this.panelName = panelName;
    }

}
